package org.zmhhxl.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.Environment;

/**
 * Hello world!
 *
 */
//@EnableFeignClients
//@MapperScan("org.zmhhxl.api.auth.domain.entity.mapper")
@SpringBootApplication
@EntityScan(basePackages = {"org.zmhhxl.api.auth.domain.entity"})
public class UserApplication
{
    public static void main( String[] args )
    {   ConfigurableApplicationContext run = SpringApplication.run(UserApplication.class, args);

        // 查看 Environment
        Environment environment = run.getEnvironment();
        //断点调试查看environment对象
        System.out.println( "Hello World! user system" );
    }
}
